<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <div th:replace="~{/fragment/header :: header}"></div>
    <div th:replace="~{/fragment/header :: header-css}"></div>
    <div th:replace="~{/fragment/header :: header-nav}"></div>
</head>
<body>
<form  th:action="@{/order/save}" th:object="${order}" method="post" enctype="multipart/form-data">
    <input type="hidden" th:field="*{id}">

    <br>

    <div class="input-group mb-3">
        <span class="input-group-text">入场时间</span>
        <input type="text"  th:field="*{inDateTime}" class="form-control">
    </div>

    <div class="input-group mb-3">
        <span class="input-group-text">离场时间</span>
        <input type="text"  th:field="*{outDateTime}" class="form-control">
    </div>

    <div class="btn-group" role="group">
        <span class="input-group-text" for="isActive">缴费完成状态</span>
        <select class="form-group" name="isActive" id="isActive">
            <option value="true">已缴费</option>
            <option value="false">未缴费</option>
        </select>
    </div>


    <input class="btn btn-primary" type="submit" th:value="提交">
    <a th:href="@{/order/list}"class="btn btn-secondary">返回 </a>

</form>
<div th:replace="~{/fragment/header :: header-js}"></div>
<div th:replace="~{/fragment/footer :: footer}"></div>
</body>
</html>